-- test_tanks.lua

local M = {}

local pb = require("protobuf")
local user = require("user")

function M.enter_match()
	user.rpc_request("tanks.Tanks", "EnterMatch",
		pb.encode("rpc.EmptyMsg", {}),
		function(s) print("EnteredMatch OK!") end)
end  -- enter_match()

function M.move_to()
	user.rpc_request("tanks.Tanks", "MoveTo",
		pb.encode("tanks.PositionMsg", {}),
		function(s) print("MoveTo() OK!") end)
end  -- move_to()

return M
